package ua.com.cms.entities;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import org.bson.types.ObjectId;

import java.util.HashMap;
import java.util.List;

@Entity(noClassnameStored = true)
public class Slot {
    @Id
    private ObjectId id;

    private String name;

    private List<Integer> size; //px

    private HashMap<String, String> var_args;

    private SlotContent content;

    public ObjectId getId() {
        return id;
    }

    public void setId(ObjectId id) {
        this.id = id;
    }

    public List<Integer> getSize() {
        return size;
    }

    public void setSize(List<Integer> size) {
        this.size = size;
    }

    public HashMap<String, String> getVar_args() {
        return var_args;
    }

    public void setVar_args(HashMap<String, String> var_args) {
        this.var_args = var_args;
    }

    public SlotContent getContent() {
        return content;
    }

    public void setContent(SlotContent content) {
        this.content = content;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
